﻿using System;
namespace CardRegisterCollection.Model
{
	/// <summary>
	/// role:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Role
	{
		public Role()
		{}
        #region Model
        //private int _id;
        private string _id;
        private string _name;
		private string _description;
		private string _createdby;
		private DateTime? _createdat= DateTime.Now;
		private bool _deleteflag= false;
		private string _lastupdatedby;
		private DateTime? _lastupdatedat;
		/// <summary>
		/// 
		/// </summary>
		public string ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 角色名称
		/// </summary>
		public string name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 说明
		/// </summary>
		public string description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string CreatedBy
		{
			set{ _createdby=value;}
			get{return _createdby;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreatedAt
		{
			set{ _createdat=value;}
			get{return _createdat;}
		}
		/// <summary>
		/// 是否注销
		/// </summary>
		public bool DeleteFlag
		{
			set{ _deleteflag=value;}
			get{return _deleteflag;}
		}
		/// <summary>
		/// 最后更新人
		/// </summary>
		public string LastUpdatedBy
		{
			set{ _lastupdatedby=value;}
			get{return _lastupdatedby;}
		}
		/// <summary>
		/// 最后更新时间
		/// </summary>
		public DateTime? LastUpdatedAt
		{
			set{ _lastupdatedat=value;}
			get{return _lastupdatedat;}
		}
		#endregion Model

	}
}

